﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="Omabar.CMS.Pages.Index" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta property="wb:webmaster" content="714b0dc817cd48ee" />
    <!--Title-->
    <title>欧玛贝&mdash;&mdash;来自德国，专注定制</title>
    <link href="css/bindex.css" rel="stylesheet" />
    <link href="css/basic.css" rel="stylesheet" type="text/css" />
    <link href="css/index.css" type="text/css" rel="stylesheet" />
    <link href="css/flickerplate.css" type="text/css" rel="stylesheet" />
    <link rel="stylesheet" href="css/zzsc.css" type="text/css" media="screen" />
    <link href="css/GoTop.css" rel="stylesheet" type="text/css" />
    <link href="css/SpecialItem.css" rel="stylesheet" type="text/css"/>

    <!--Required libraries-->
    <script src="js/min/jquery-v1.10.2.min.js" type="text/javascript"></script>
    <script src="js/min/modernizr-custom-v2.7.1.min.js" type="text/javascript"></script>
    <script src="js/min/jquery-finger-v0.1.0.min.js" type="text/javascript"></script>
    <!--Include flickerplate-->
    <script src="js/min/flickerplate.min.js" type="text/javascript"></script>
    <script src="js/jquery.carouFredSel-6.0.4-packed.js" type="text/javascript"></script>
    <!--Execute flickerplate-->
    <script>
        $(document).ready(function () {
            $('.flicker-example').flicker();
            $('#carousel ul').carouFredSel({
                prev: '#prev',
                next: '#next',
                pagination: "#pager",
                scroll: 1000
            });

            $(".flick-content").height($(".flick-inner").height());
            
            $("#tailor_3").html($("#tailor_3").html().replace(/<[^>]+>/g, ""));
            $("#tailor_1").html($("#tailor_1").html().replace(/<[^>]+>/g, ""));
            $("#tailor_2").html($("#tailor_2").html().replace(/<[^>]+>/g, ""));

            if ($("#tailor_3").html().length > 40){
                $("#tailor_3").html($("#tailor_3").html().substring(0,40)+"...");
            }
            if ($("#tailor_1").html().length > 40) {
                $("#tailor_1").html($("#tailor_1").html().substring(0, 40) + "...");
            }
            if ($("#tailor_2").html().length > 40) {
                $("#tailor_2").html($("#tailor_2").html().substring(0, 40) + "...");
            }

        });
        function showSubMap(obj, yPosition) {

            if (obj.nodeName === "AREA") {  //地图不能直接用obj
                $(".map").css("background-position", yPosition);
            }
            else {  //div可以直接用
                $(obj).css("background-position", yPosition);
            }
        }

    </script>

    <script type="text/javascript" src="js/zzsc.js"></script>
    <script type="text/javascript" src="js/GoTop.js"></script>
</head>
<body class="bodyBg">
    <div id="top"></div>
    <!--顶部图片切换-->
    <div class="divHeight960" style="height:800px;">
        <div class="flicker-example" data-block-text="false" style="height:800px;">
            <ul>
                <%foreach(var hotRoute in tSliders){ %>
                <li data-background="<%=hotRoute.SLIDER_IMAGE%>">
                    <a href="<%=hotRoute.SLIDER_URL%>" class="CourseTitle"></a>
                </li>
                <%}%>
            </ul>
        </div>
        <div id="loginBox">
            <div class="login-panel">
                <h3>登录</h3>
                <div class="login-mod">
                    <div class="login-err-panel dn" id="err_area">
                        <span class="icon-wrapper"><i class="icon24-login err"
                            style="margin-top: -0.2em;"></i></span><span id="err_tips"></span>
                    </div>
                    <form class="login-form" id="login-form">
                        <div class="login-un">
                            <span class="icon-wrapper"><i class="icon24-login un"></i></span>
                            <input id="username" type="text" placeholder="请输入帐号" value="" />
                        </div>
                        <div class="login-pwd">
                            <span class="icon-wrapper"><i class="icon24-login pwd"></i></span>
                            <input id="password" type="password" placeholder="请输入密码" value="" />
                        </div>
                    </form>
                    <div class="login-help-panel">
                        <a class="login-remember-pwd" id="rememberPwd" href="javascript:;">
                            <input id="rememberPwdIcon" type="checkbox" value="0"/>记住帐号 </a>
                        <a class="login-forget-pwd" href="ForgotPassword.aspx">忘记密码？</a>
                        <a class="login-forget-pwd" href="Register.aspx">新用户注册</a>
                    </div>
                    <div class="login-btn-panel">
                        <a title="点击登录" class="login-btn" id="login_button" onclick="_login();">登录</a>
                    </div>
                    <script type="text/javascript">
                        function _login() {
                            var $username = $('#username').val(), $password = $('#password').val(), $keepalive = $('#rememberPwdIcon').val();

                            // check
                            if ('' == $username || '' == $password) {
                                $('#err_tips').text('您输入帐号或密码错误，请重新输入！');
                                $('#err_area').show();
                                return false;
                            }

                            var $login_data = {
                                username: $username,
                                password: $password,
                                keepalive: $keepalive
                            };
                            $.post('../Handler/Login.ashx', $login_data, function (rs) {
                                if (rs.Success) {
                                    location.href = rs.Url;
                                }
                                else {
                                    $('#err_tips').text(rs.Tip);
                                    $('#err_area').show();
                                }
                            }, 'json');
                        }
                    </script>
                </div>
            </div>
            <div class="login-cover" onclick="$('#loginBox').toggle(this, event);"></div>
        </div>
        <!--标志&注册-->
        <div class="logo">
            <div class="guest-info">
                <%if(user==null){ %>
                <span><a href="Register.aspx">注册</a></span><span>|</span><span><a href="javascript:$('#loginBox').toggle();">登录</a></span>
                <%}else{%>
                <span><a href="Logout.aspx">注销</a></span><span>|</span><span><a href="javascript:void(0);"><%=user.USER_NIKENAME%></a></span>
                <%} %>
            </div>
        </div>
        <div class="clear"></div>
        <!--导航栏-->
        <div class="oneNav">
            <div class="oneNavLeft"></div>
            <div class="oneNavCenter">
                <ul>
                    <li><a href="Index.aspx" class="oneNavLink01current"></a></li>
                    <li><a href="RouteList.aspx" class="oneNavLink02"></a></li>
                    <li><a href="CustomizedTrip.aspx" class="oneNavLink03"></a></li>
                    <li><a href="#" class="oneNavLink04"></a></li>
                    <li><a href="#" class="oneNavLink05"></a></li>
                </ul>
            </div>
            <div class="oneNavRight"></div>
        </div>
        <div class="clear"></div>
        
    </div>
    <div class="clear"></div>
    <div class="container01">
        <!-- 欧玛贝独创 -->
        <div class="container">
            <div class="title01"></div>
            <div id="header">
                <div class="wrap">
                    <div id="slide-holder">
                        <div id="slide-runner">
                            <%foreach (var route in orginSliders)
                              { %>
                            <a href="<%=route.SLIDER_URL%>">
                                <img id="route_<%=route.SLIDER_ID%>" src="<%=route.SLIDER_IMAGE%>" class="slide" alt="<%=route.SLIDER_DES%>" /></a>
                            <%}%>
                            <div id="slide-controls">
                                <p id="slide-client" class="text"><strong></strong><span></span></p>
                                <p id="slide-desc" class="text"></p>
                                <p id="slide-nav"></p>
                            </div>
                        </div>
                    </div>
                    <script type="text/javascript">
                        if (!window.slider) {
                            var slider = {};
                        }

                        slider.data = [];

                        $(document).ready(function () {
                            $("#slide-runner img").each(function () {
                                slider.data.push(
                                    {
                                        "id": $(this).attr("id"),
                                        "client": $(this).attr("alt"),
                                        "desc": ""
                                    });
                            });
                            slider.init();
                        });
                    </script>
                </div>
            </div>
        </div>
        <!-- 定制之旅 -->
        <div class="container">
            <div class="title02"></div>
            <div class="CustomDivisionList">
                <% if (tailors.Count == 3) {%>
                <ul>
                    <li>
                        <div class="DivisionPic">
                            <img src="<%= this.tailors[0].Tailor_IMG_List[0].PHOTO_SRC %>" width="320" height="249" alt="" /> 
                        </div>
                        <div class="DivisionTalk">
                            <a href="CustomizedTrip.aspx"><span class="h1 fontCol000"   style="font-size:22px;line-height:30px;"><%=this.tailors[0].TAILOR_NAME %></span><br/>
                                <span id="tailor_1" class="h4 fontCol999" style="line-height:20px;font-size:12px;"><%=this.tailors[0].TAILOR_INFO %></span> </a>
                        </div>
                    </li>
                    <li class="marginLR20">
                        <div class="DivisionPic">
                            <img src="<%=this.tailors[1].Tailor_IMG_List[0].PHOTO_SRC %>" width="320" height="249" alt="" />
                        </div>
                        <div class="DivisionTalk">
                            <a href="CustomizedTrip.aspx"><span class="h1 fontCol000"  style="font-size:22px;line-height:30px;"><%=this.tailors[1].TAILOR_NAME %></span><br>
                                <span id="tailor_2" class="h4 fontCol999" style="line-height:20px;font-size:12px;"><%=this.tailors[1].TAILOR_INFO %></span> </a>
                        </div>
                    </li>
                    <li>
                        <div class="DivisionPic">
                            <img src="<%=this.tailors[2].Tailor_IMG_List[0].PHOTO_SRC %>" width="320" height="249" alt="" />
                        </div>
                        <div class="DivisionTalk">
                            <a href="CustomizedTrip.aspx"><span class="h1 fontCol000"   style="font-size:22px;line-height:30px;"><%=this.tailors[2].TAILOR_NAME %></span><br>
                                <span  id="tailor_3" class="h4 fontCol999" style="line-height:20px;font-size:12px;"><%=this.tailors[2].TAILOR_INFO %></span> </a>
                        </div>
                    </li>
                </ul>

                <%} %>
            </div>
            <div class="indexMore"><span class="floatR"><a href="CustomizedTrip.aspx" style="color: #fff;" onmouseover="$(this).css('color','#fecd3c');" onmouseout="$(this).css('color','#fff');">更多定制师</a></span></div>
            <div class="clear"></div>
            <div class="OrderProcess">
                <ul>
                    <li><a href="CustomizedTrip.aspx">
                        <div style="width: 185px; height: 170px; background: url(images/OrderProcess.png) 0px -20px;" onmousemove="showSubMap(this,'0px -187px');" onmouseout="showSubMap(this,'0px -20px')"></div>
                    </a></li>
                    <li><a href="CustomizedTrip.aspx">
                        <div style="width: 185px; height: 170px; background: url(images/OrderProcess.png) -220px -20px;" onmousemove="showSubMap(this,'-220px -187px');" onmouseout="showSubMap(this,'-220px -20px')"></div>
                    </a></li>
                    <li><a href="CustomizedTrip.aspx">
                        <div style="width: 185px; height: 170px; background: url(images/OrderProcess.png) -440px -20px; " onmousemove="showSubMap(this,'-440px -187px');" onmouseout="showSubMap(this,'-440px -20px')"></div>
                    </a></li>
                    <li><a href="CustomizedTrip.aspx">
                        <div style="width: 185px; height: 170px; background: url(images/OrderProcess.png) -660px -20px;" onmousemove="showSubMap(this,'-660px -187px');" onmouseout="showSubMap(this,'-660px -20px')"></div>
                    </a></li>
                </ul>
            </div>
            <div class="clear"></div>

            <!--特色项目-->
            <div>
                <div class="h1 fontColfff lineh100" style="font-size:22px;">特色项目 Special Item</div>
                <div class="SpecialItem">
                    <div class="DotFrame">

                        <div id="wrapper">
                            <div id="carousel">
                                <ul>
                                    <%foreach(var rs in spiSliders){%>
                                    <li>
                                        <a href="<%=rs.SLIDER_URL%>">
                                            <div class="children">
                                                <div class="childrenPic">
                                                    <img src="<%=rs.SLIDER_IMAGE%>" width="150" height="150" alt="" /></div>
                                                <div class="childrenName"><%=rs.SLIDER_DES%></div>
                                            </div>
                                        </a>
                                    </li>
                                    <%}%>
                                </ul>
                                <div class="clearfix"></div>
                                <a id="prev" class="w_prev" href="#">&lt;</a>
                                <a id="next" class="w_next" href="#">&gt;</a>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="clear"></div>
    <div class="container">
        <!--目的地-->
        <div class="title03"></div>
        <!--按照精选主题查询-->
        <div class="h1 fontC0l000 lineh100" style="font-size:22px;">按照精选主题查询  Choose your Interest</div>
        <div class="InterestItem">
            <ul>
                <li><a href="RouteList.aspx?type=p_themes&value=20150520215347814" class="InterestItem01">
<%--                    <div style="width: 148px; height: 145px; background: url(images/Interest_1.png);" onmousemove="showSubMap(this,'0px -177px');" onmouseout="showSubMap(this,'0px 0px')"></div>--%>
                </a></li>
                <li><a href="RouteList.aspx?type=p_themes&value=20150520213932710" class="InterestItem02">
                </a></li>
               <li><a href="RouteList.aspx?type=p_themes&value=20150520215432029" class="InterestItem03">
                </a></li>
                <li><a href="RouteList.aspx?type=p_themes&value=20150520220306861" class="InterestItem04">
                </a></li>
                <li><a href="RouteList.aspx?type=p_themes&value=20150520215227168" class="InterestItem05">
                </a></li>
                <li><a href="RouteList.aspx?type=p_themes&value=20150520215203915" class="InterestItem06">
                </a></li>
            </ul>
        </div>
        <div class="clear"></div>

        <!--按照目的地查询-->
        <div class="h1 fontC0l000 lineh100" style="font-size:22px;">按照目的地查询  Choose a Destination</div>
        <div class="map">
            <img src="images/spacer.gif" alt="" width="900" height="430" usemap="#Map" border="0" />
            <map name="Map">
          <area shape="poly" coords="36,48,20,83,36,97,65,83,89,87,99,119,95,146,112,183,132,197,180,222,184,222,190,189,228,145,266,127,279,122,273,60,250,26,147,19,64,37" href="RouteList.aspx?type=p_countrys" alt="北美洲"  onmousemove="showSubMap(this,'0px -430px');" onmouseout="showSubMap(this,'0px 0px');">
          <area shape="poly" coords="174,249,185,283,193,290,147,416,168,428,195,363,247,318,277,297,304,252,259,223,210,213,191,219" href="RouteList.aspx?type=p_countrys" alt="南美洲" onmousemove="showSubMap(this,'0px -861px');"  onmouseout="showSubMap(this,'0px 0px');">
          <area shape="poly" coords="441,154,422,152,408,157,404,155,388,168,369,190,366,207,381,226,399,229,419,228,432,232,435,240,447,267,442,283,459,336,481,338,503,316,510,306,537,309,549,303,555,284,551,271,552,212,536,214,520,206,504,168" href="RouteList.aspx?type=p_countrys" alt="非洲" onmousemove="showSubMap(this,'0px -1291px');"  onmouseout="showSubMap(this,'0px 0px');">
          <area shape="poly" coords="364,62,369,72,391,151,402,153,414,149,428,138,442,136,453,144,475,152,487,142,510,122,534,110,554,102,589,115,592,100,605,91,635,99,660,109,678,109,697,97,727,106,731,123,737,147,743,159,757,161,777,158,815,100,825,80,861,62,746,6,567,5" href="RouteList.aspx?type=p_countrys" alt="欧洲" onmousemove="showSubMap(this,'0px -1722px');"  onmouseout="showSubMap(this,'0px 0px');">
          <area shape="poly" coords="766,264,712,259,682,237,623,221,570,192,533,207,505,169,482,147,552,104,589,116,604,93,662,112,681,112,698,100,727,108" href="RouteList.aspx?type=p_countrys" alt="亚洲"onmousemove="showSubMap(this,'0px -2152px');"  onmouseout="showSubMap(this,'0px 0px');">
          <area shape="poly" coords="777,242,787,269,770,278,742,298,754,338,789,332,815,332,833,343,857,370,867,364,867,315,836,254" href="RouteList.aspx?type=p_countrys" alt="大洋洲" onmousemove=";showSubMap(this,'0px -2583px');"  onmouseout="showSubMap(this,'0px 0px');">
        </map>
        </div>
        <div class="clear"></div>

        <!--欧玛贝品质之旅-->
        <%--<div class="title04"></div>--%>
        <div class="QualityTourList">
            <%--<ul>
                <%foreach (var route in qualityRoutes)
                  { %>
                <li style="margin: 10px;">
                    <div class="DivisionPic">
                        <img src="<%=route.Cover %>" width="320" height="240" alt="" />
                    </div>
                    <div class="DivisionTalk">
                        <a href="<%=route.ROUTE_ID%>.html"><span class="h4 fontCol000"><%=route.ROUTE_NAME%></span><br />
                            <span class="h4 fontCol999"><%=route.ROUTE_DES%></span></a>
                    </div>
                </li>
                <%}%>
            </ul>--%>
        </div>
        <%--<div class="indexMore01"><span class="floatR"><a href="RouteList.aspx?type=p_elaborate" style="color: #fff;" onmouseover="$(this).css('color','#0c6c6c');" onmouseout="$(this).css('color','#fff');">更多精品旅程</a></span></div>--%>
    </div>
    <div class="clear"></div>

    <!--内容区域返回顶部按钮-->
    <div class="semicircleBackTop"><a href="#top"></a></div>
    <div class="clear"></div>

    <!--底部链接-->
    <div class="bottom">
        <div class="bottomText">
            <div class="contactUs floatL">
                <ul>
                    <li class="marginB10">联系我们</li>
                    <li class="marginB10 fontfa fontW">400-007-0819</li>
                    <li class="marginB10 fontCol666 h4">info@omabar.cn</li>
                    <li class="paddingT20">
                        <img src="images/logoBottom.png" width="169" height="19" alt="" /></li>
                    <li class="fontCol666 h5">欢迎来到欧玛贝，快来<span class="fontcolfc3 font16">注册</span>吧！<br>
                        切换到手机版浏览</li>
                </ul>
            </div>
            <div class="WeChat floatL">
                <ul>
                    <li class="marginB10">欧玛贝微信开通</li>
                    <li class="marginB10 fontcolfc3 font16">订阅号</li>
                    <li class="marginB10 fontCol666 h5">专注欧美旅行定制服务<br>
                        账号：欧玛贝旅游</li>
                    <li class="marginB10">欧玛贝微博开通</li>
                    <li class="marginB10 fontCol666 h5">专注欧美旅行定制服务<br>
                        账号：欧玛贝旅游</li>
                </ul>
            </div>
            <div class="bottomLink floatL">
                <ul>
                    <li class="marginB10">关于欧玛贝</li>
                    <li class="marginB10"><a href="AboutMe.aspx">关于我们</a></li>
                    <li class="marginB10"><a href="AboutMe.aspx">团队</a></li>
                    <li class="marginB10"><a href="AboutMe.aspx">媒体报道</a></li>
                    <li class="marginB10"><a href="AboutMe.aspx">工作机会</a></li>
                </ul>
            </div>
            <div class="bottomLink floatL">
                <ul>
                    <li class="marginB10">技术支持</li>
                    <li class="marginB10"><a href="#">隐私政策</a></li>
                    <li class="marginB10"><a href="#">服务条款</a></li>
                    <li class="marginB10"><a href="#">联系我们</a></li>
                    <li class="marginB10"><a href="#">合作伙伴</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="clear"></div>

    <!--版权所有-->
    <div class="copyright">Copyright OMABAR欧玛贝 2015 | 蜀ICP备 12345678号</div>
    <div class="clear"></div>
</body>
</html>
